<ion-header [translucent]="true">
	<ion-toolbar>
		<ion-buttons slot="start">
			<ion-menu-button></ion-menu-button>
		</ion-buttons>
		<ion-title>时间</ion-title>
	</ion-toolbar>
	<ion-segment [value]="formats[0].title">
		<ion-segment-button *ngFor="let f of formats;let i=index;" (click)="show(i)" [value]="f.title">
			<ion-label>{{ f.title }}</ion-label>
		</ion-segment-button>
	</ion-segment>
</ion-header>

<ion-content [fullscreen]="true">
	<ng-container *ngFor="let f of formats">
		<ion-list *ngIf="f.show">
			<ion-item *ngFor="let i of f.items">
				<ion-input [value]="i.format" readonly></ion-input>
				<ion-note slot="end">{{ i.time }}</ion-note>
			</ion-item>
		</ion-list>
	</ng-container>
</ion-content>
